/**
 *  2013-5-16   上午11:49:32
 *  Created By niexiaoqiang
 */

package com.xiaoqiang.object;

import org.apache.log4j.Logger;

/**
 * TODO Add Class Description
 */
public class MtwKey {

	private int keyCode;
	private int keyAction;
	private String keyText;
	private static Logger log = Logger.getLogger(MtwKey.class);
	public MtwKey(int keyCode,int keyAction)
	{
		this.keyCode=keyCode;
		this.keyAction=keyAction;
		log.debug("init MtwKey1:"+keyCode);
	}
	public MtwKey(int keyCode,int keyAction,String keyText)
	{
		this.keyCode=keyCode;
		this.keyAction=keyAction;
		this.keyText=keyText;
		log.debug("init MtwKey2:"+keyCode);
	}
	public int getKeyCode() {
		return keyCode;
	}
	public void setKeyCode(int keyCode) {
		this.keyCode = keyCode;
	}
	public int getKeyAction() {
		return keyAction;
	}
	public void setKeyAction(int keyAction) {
		this.keyAction = keyAction;
	}
	public String getKeyText() {
		return keyText;
	}
	public void setKeyText(String keyText) {
		this.keyText = keyText;
	}
}
